const { app } = require("electron");
const { handleIPC } = require("./modules/ipcMain");
const robotjs = require("./modules/robot.js");
const { createWindow } = require("./windows/main");

// const { createControlWindow } = require("./windows/control");

app.on("ready", () => {
  createWindow();
  // 方便调试直接启动被控制窗口
  // createControlWindow();
  handleIPC();
  robotjs();

  require("./modules/sysMenu.js");
});
